package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.entities.OrderItem;

import java.util.List;

public interface OrderItemService extends IService<OrderItem> {

    boolean addOrderItem(OrderItem orderItem);

    boolean deleteOrderItem(Integer orderItemId);

    boolean updateOrderItem(OrderItem orderItem);

    List<OrderItem> getOrderItemById(Integer orderId);
}
